package com.dd.service.Impl;

import com.dd.dao.StuDao;
import com.dd.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImpl implements StuService {

    StuDao stuDao;
    @Autowired
    public void setStuDao(StuDao stuDao) {
        this.stuDao = stuDao;
    }

    @Override
    public void getList() {
        stuDao.getList();
    }

    @Override
    public void save() {
        stuDao.save();
    }
}
